<?php

include ("../../../mainfile.php");

xoops_header(false);

if ( empty($_GET['feedtype']) ) { $feedtype = "RSS"; } else { $feedtype = trim($_GET['feedtype']); }
if ( empty($_GET['feedurl']) ) { $feedurl = ""; } else { $feedurl = trim($_GET['feedurl']); }

$feedmodname ="Mylinks";
$atom_feedurl = str_replace("rss.php", "atom.php", $feedurl);
$pda_feedurl = str_replace("rss.php", "pda.php", $feedurl);
$feedurl_en = urlencode($feedurl);

echo '
<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$feedurl.'" />
<link rel="alternate" type="application/atom+xml" title="ATOM" href="'.$atom_feedurl.'" />
</head>
<body>
<table>
    <tr class="odd">
    <td align="center" ><h3>Feed Subscription Service</h3></td>
    </tr>
    <tr class="head">
    <td align="center"><b>'.$feedmodname.'</b>
    </td>
    </tr>
    <tr class="even">
    <td align="left">
<br />
<a target="_blank" title=\''.$feedurl.'\' href="'.$feedurl.'" style=\'text-decoration:none;\'><span style=\'border:1px solid;border-color:#FC9 #630 #330 #F96;padding:0 3px;font:bold 10px vena,sans-serif;color:#FFF;background:#F60;margin:0;\'>'.$feedtype.' Feed</span></a>&nbsp;
<a target="_blank" title=\''.$atom_feedurl.'\' href="'.$atom_feedurl.'" style=\'text-decoration:none;\'><span style=\'border:1px solid;border-color:#FC9 #630 #330 #F96;padding:0 3px;font:bold 10px vena,sans-serif;color:#FFF;background:#F60;margin:0;\'>ATOM Feed</span></a>&nbsp;
<a target="_blank" title=\''.$pda_feedurl.'\' href="'.$pda_feedurl.'" style=\'text-decoration:none;\'><span style=\'border:1px solid;border-color:#FC9 #630 #330 #F96;padding:0 3px;font:bold 10px vena,sans-serif;color:#FFF;background:#F60;margin:0;\'>PDA Feed</span></a>
<br />
<br /><a target="_blank" href="http://fusion.google.com/add?feedurl='.$feedurl_en.'"><img src="http://www.google.com/webmasters/add-to-google-plus.gif" alt="Google Reader or Homepage" border="0"></a>
<br /><a target="_blank" href="http://www.ifeedreaders.com/subscribe.php?thefeed='.$feedurl_en.'&"><img src="http://www.ifeedreaders.com/buttons/button2.gif" alt="Subscribe" border="0" title="More Subscription Options"/></a>
<br /><a target="_blank" href="http://add.my.yahoo.com/rss?url='.$feedurl_en.'"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif" border="0" alt="Add to My Yahoo!"></a>
<br /><a target="_blank" href="http://www.bloglines.com/sub/'.$feedurl_en.'"><img src="http://www.bloglines.com/images/sub_modern9.gif" alt="Subscribe with Bloglines" border="0" /></a>
<br /><a target="_blank" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='.$feedurl_en.'"><img src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" border="0"></a> 
<br /><a target="_blank" href="http://my.msn.com/addtomymsn.armx?id=rss&ut='.$feedurl_en.'&ru='.XOOPS_URL.'"><img src="'.XOOPS_URL.'/addto2/msn.gif" border="0"></a>
<br /><a target="_blank" href="http://www.bitty.com/manual/?contenttype=rssfeed&contentvalue='.$feedurl_en.'"><img src="http://www.bitty.com/img/bittychicklet_91x17.gif" alt="BittyBrowser" border="0" /></a>
<br /><a target="_blank" href="http://feeds.my.aol.com/add.jsp?url='.$feedurl_en.'"><img src="http://myfeeds.aolcdn.com/vis/myaol_cta1.gif" alt="Add to My AOL" border="0"/></a>
<br /><a target="_blank" href="http://rss2pdf.com?url='.$feedurl_en.'"> <img src="http://rss2pdf.com/images/rss2pdf.png" alt="Convert RSS to PDF" border="0"/></a>
<br /><a target="_blank" href="http://www.rojo.com/add-subscription?resource='.$feedurl_en.'"> <img src="'.XOOPS_URL.'/addto2/rojo.gif" alt="Subscribe in Rojo" style="border:0"></a>
<br /><a target="_blank" href="http://solosub.com/sub/'.$feedurl_en.'"><img src="'.XOOPS_URL.'/addto2/solosub.gif" alt="Solosub" border="0" /></a>
<br /><a target="_blank" href="http://www.multirss.com/rss/'.$feedurl_en.'"><img src="http://www.multirss.com/rssimage/http://www.twistermc.com/blog/feed/" alt="MultiRSS" border="0"  /></a>
<br /><a target="_blank" href="http://www.r-mail.org/bm.aspx?rss='.$feedurl_en.'" style="background-color: #fff; font-weight: bold; color:#000; border:1px solid #000; font-size: 11px; padding: 2px; text-decoration: none; font-family: sans-serif;"><span style="color:#F76615">R</span>|Mail</a>
<br /><a target="_blank" href="http://www.rssfwd.com/rssfwd/preview?url='.$feedurl_en.'"><img src="http://www.rssfwd.com/subscribe_via_rssfwd.png" alt="Rss fwd" border="0"  /></a>
<br /><a target="_blank" href="http://www.blogarithm.com/subrequest.php?BlogURL='.$feedurl_en.'"> <img src="http://www.blogarithm.com/images/external/techno-add.gif" alt="Blogarithm" border="0" /></a>
<br /><a target="_blank" href="http://www.eskobo.com/?AddToMyPage='.$feedurl_en.'"><img src="http://www.eskobo.com/images/eneskobo.gif" alt="Eskobo" border="0" /></a>
<br /><a target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href='.$feedurl_en.'&title='.$feedtype.'"><img src="http://www.simpy.com/img/chicklet-simpy-orange.png" alt="Simpify!" style="border-width: 0px;"/></a>
<br /><a target="_blank" href="http://technorati.com/faves?add='.$feedurl_en.'"><img src="http://static.technorati.com/pix/fave/tech-fav-5.gif" alt="Add to Technorati Favorites!" border="0"/></a>
<br /><a target="_blank" href="http://www.netvibes.com/subscribe.php?url='.$feedurl_en.'"><img alt="Add to netvibes" src="http://www.netvibes.com/img/add2netvibes.gif" border="0"></a>
<br /><a target="_blank" href="http://www.pageflakes.com/subscribe.aspx?url='.$feedurl_en.'"><img src="'.XOOPS_URL.'/addto2/pageflakes.gif" border="0"></a>
<br /><a target="_blank" href="http://www.protopage.com/add-button-site?url='.$feedurl_en.'&label='.$feedtype.'&type=feed"><img alt="Add this site to your Protopage" src="http://www.protopage.com/web/images/buttons/add-site-to-protopage.gif" border="0"></a>
<br /><a target="_blank" href="http://www.newsburst.com/Source/?add='.$feedurl_en.'"><img src="http://news.com.com/i/newsbursts/btn/newsburst3.gif" border="0"></a>
<br /><a target="_blank" href="http://www.newsalloy.com/?rss='.$feedurl_en.'"><img src="http://www.newsalloy.com/subrss4.gif" border="0" alt="Subscribe in NewsAlloy" title="Subscribe in NewsAlloy" /></a>
<br /><a target="_blank" href="http://reader.earthlink.net/feed/add?url='.$feedurl_en.'"><img src="http://my.eimg.net/img/logo_myeln.gif" width="91" height="20" border="0" alt="Subscribe in myEarthlink" title="Subscribe in myEarthlink !You must already be logged into your Earthlink account." /></a>
<br /><a target="_blank" href="http://plusmo.com/add?url='.$feedurl_en.'"><img src="http://plusmo.com/res/graphics/fbplusmo.gif" border="0" alt="Add to your phone" title="Add to your phone" /></a>
<br /><a target="_blank" href="http://www.live.com/?add='.$feedurl_en.'"><img style="width: 92px; height: 17px;" src="http://tkfiles.storage.msn.com/x1pHd9OYNP16fmmfqJHji7qY0yYomKrFzGROBps3O6qHF0JRlVV8xH6X4cfsptw0fftk5oJYFpTKP6I-i91-se8TaoO7R9oiPVoxDEG_LEZW_XhegHxASvHJYsSxNjf526t" border="0"></a>
     </td>
    </tr>
    <tr class="head">
    <td align="center"><b>'.$feedmodname.'</b>
    </td>
    </tr>
</table>
<br /><br />
<center><b>Have a nice and happy time!</b><br />(from wanikoo)</center>
';

xoops_footer();

?>